執行 git pull main master
出現
error: Your local changes to the following files would be overwritten by merge:
專案/libs/libs.php
專案/manager/css/floatingBarsG.css
Please, commit your changes or stash them before you can merge.
Aborting
這是因為你還有一些檔案改過了,所以它不能pull 下來
這時,你可以先把改過的東西複製到別的地方,然後再checkout恢復原來的
再來 執行 git pull main master
想對外分享這則貼文嗎?運用網址更方便呦~